package teleradiologia.domain;


import java.util.HashSet;
import java.util.Set;


@SuppressWarnings("serial")
public class Picture implements java.io.Serializable {

	private long id;
	private Technician technician;
	private String dicompath;
	private String jpgpath;
	private String thumbnailpath;
	
	@SuppressWarnings("unchecked")
	private Set orderings = new HashSet(0);

	public Picture() {
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Technician getTechnician() {
		return this.technician;
	}

	public void setTechnician(Technician technician) {
		this.technician = technician;
	}

	public String getDicompath() {
		return this.dicompath;
	}

	public void setDicompath(String dicompath) {
		this.dicompath = dicompath;
	}

	public String getJpgpath() {
		return this.jpgpath;
	}

	public void setJpgpath(String jpgpath) {
		this.jpgpath = jpgpath;
	}

	public String getThumbnailpath() {
		return this.thumbnailpath;
	}

	public void setThumbnailpath(String thumbnailpath) {
		this.thumbnailpath = thumbnailpath;
	}

	@SuppressWarnings("unchecked")
	public Set getOrderings() {
		return this.orderings;
	}

	@SuppressWarnings("unchecked")
	public void setOrderings(Set orderings) {
		this.orderings = orderings;
	}
	
	@SuppressWarnings("unchecked")
	public void addOrdering(Ordering ordering) {
		this.orderings.add(ordering);
	}
}
